

//方式一：继承
public class Jcfs extends Thread{

    @Override
    public void run() {
        super.run();
        System.out.println(Thread.currentThread().getName()+":我跑完了");
    }
}
